package com.zzxy.spring34.po;

public class User implements BeaNameAware, BeanFactoryAware,InitializingBean,DisposableBean {
    private String username;
    public String getUsername() {return username;}

    public void setUsername(String username) {
        this.username = username;
        System.out.println("2.set.properties...");
    }
    public User() { System.out.println("1.init instance...");}
    @Override
    public void setBeanName(String s) {System.out.println("3.bean name...");}
    @Override
    public void setBeanFactory(String ){System.out.println("3.bean name...                                                        ");}
}
